﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Xml;

namespace Bitter.Win.Services.Twitter
{
    public partial class TwitterMain : UserControl
    {
        public TwitterMain()
        {
            InitializeComponent();
        }

        private void TwitterMain_Load(object sender, EventArgs e)
        {

        }

        private void TwitterLogon_SigningIn(Bitter.Win.Controls.LogonControl sender, string username, string password)
        {
            Yedda.Twitter twitter = new Yedda.Twitter();
            XmlDocument friendsXml = twitter.GetFriendsAsXML(username, password);

            MessageBox.Show(friendsXml.OuterXml);
        }
    }
}
